<?php

/**
 * @package Unite Showbiz Slider for Joomla 1.7-3.1
 * @version 1.0.0
 * @author UniteCMS.net
 * @copyright (C) 2012- Unite CMS
 * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 * */
// no direct access
defined('_JEXEC') or die('Restricted access');

$currentDir = dirname(__FILE__) . "/";
// showbiz
require_once $currentDir . "helpers/showbiz_globals.class.php";
require_once $currentDir . "helpers/framework/include_framework.php";
require_once $currentDir . "helpers/showbiz_operations.class.php";
//require_once $currentDir . '/helpers/showbiz_settings_product.class.php';
require_once $currentDir . 'helpers/showbiz_globals.class.php';
require_once $currentDir . 'helpers/showbiz_operations.class.php';
//require_once $currentDir . '/helpers/showbiz_slider.class.php';
//require_once $currentDir . '/helpers/showbiz_output.class.php';
require_once $currentDir . 'helpers/showbiz_params.class.php';
require_once $currentDir . 'helpers/showbiz_slide.class.php';
require_once $currentDir . 'helpers/showbiz_template.class.php';
//require_once $currentDir . '/helpers/showbiz_widget.class.php';
require_once $currentDir . 'helpers/showbiz_wildcards.class.php';
// old

require_once $currentDir . "helpers/globals.class.php";
require_once $currentDir . "helpers/helper.class.php";
require_once $currentDir . "helpers/helper_operations.class.php";
require_once $currentDir . "helpers/output.class.php";
require_once $currentDir . "helpers/actions.class.php";
require_once $currentDir . "unitejoomla/includes.php";

GlobalsShowBiz::initGlobals();

if ($isJoomla3) {

    require_once $currentDir . "models/slider_joomla3.php";
    require_once $currentDir . "models/item_joomla3.php";
} else { //joomla 2.5
    require_once $currentDir . "models/slider_joomla2.php";
    require_once $currentDir . "models/item_joomla2.php";
}

//init the globals
GlobalsUniteRev::init();

GlobalsUniteRev::$version = "1.0.1";

UniteFunctionJoomlaRev::$componentName = GlobalsUniteRev::COMPONENT_NAME;
?>